#! usr/bin/env python
import pygame

# This draws the right bar - door and treasure decks on drawn on this
# also, a zoomed in card for reading is drawn on this
class RightBar (pygame.sprite.Sprite):
    def __init__(self):
        pygame.sprite.Sprite.__init__(self)

        self.surface = pygame.Surface ((320,1024))
        self.rect = pygame.Rect (960, 0, 320, 1024)
        self.rect.topleft = (960, 0)

    def Update (self):
        self.surface.fill ((0,0,0))
        # Draw sub rectangles inside right bar for looks (divides right bar
        # into 2 areas.
        pygame.draw.rect (self.surface, (139,69,19),
                          pygame.Rect(0,0,320,624), 3)
        pygame.draw.rect (self.surface, (139,69,19),
                          pygame.Rect(0,624,320,400), 3)
        

